<!DOCTYPE html>
<html lang="zh">
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <title>用户列表</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link href="../static/css/bootstrap.min.css" rel="stylesheet"/>
    <link href="../static/css/font-awesome.min.css" rel="stylesheet"/>
    <!-- bootstrap-table 表格插件样式 -->
    <link href="../static/ajax/libs/bootstrap-table/bootstrap-table.min.css" rel="stylesheet"/>
    <link href="../static/css/animate.css" rel="stylesheet"/>
    <link href="../static/css/style.css" rel="stylesheet"/>
    <link href="../static/ruoyi/css/ry-ui.css" rel="stylesheet"/>


    <link href="../static/ajax/libs/jquery-layout/jquery.layout-latest.css" rel="stylesheet"/>


    <link href="../static/ajax/libs/jquery-ztree/3.5/css/metro/zTreeStyle.css" rel="stylesheet"/>

</head>
<body class="gray-bg">

<div class="ui-layout-center">
    <div class="container-div">
        <div class="row">

            <div class="col-sm-12 search-collapse">
                <form id="user-form" action="/query/searchSupplier.do" method="get">
                    <div class="select-list">
                        <ul>
                            <li>
                                供应物品：<input type="text" name="" required pattern="[\u4e00-\u9fa5]+">
                            </li>
                            <li>
                                供应物品类别：<select name="status">
                                <option value="">所有</option>
                                <option value="0">茶叶</option>
                                <option value="1">设备</option>
                                </select>
                            </li>
                            <li>
                                <button type="submit" class="btn btn-primary">搜索</button>
                                <button type="submit" class="btn btn-warning">重置</button>
                            </li>
                        </ul>
                    </div>
                </form>
            </div>
            <div class="col-sm-12 select-table table-striped">
                <div class="bootstrap-table">
                    <div class="fixed-table-toolbar">
                        <div class="bs-bars pull-left">
                            <button class="btn btn-info" data-toggle="modal" data-target="#myModal" >
                                <i class="fa fa-upload"></i> 新增
                            </button>
                        </div>
                    </div>
                    <div class="fixed-table-container" style="padding-bottom: 0px;">
                        <div class="fixed-table-header" style="display: none;">
                            <table></table>
                        </div>
                        <div class="fixed-table-body">
                            <div class="fixed-table-loading" style="top: 41px; display: none;">正在努力地加载数据中，请稍候……</div>

                            <table id="bootstrap-table" data-mobile-responsive="true" class="table table-hover">
                                <thead>
                                <tr>
                                    <th class="bs-checkbox " style="width: 36px; ">
                                        <div class="th-inner ">
                                            <input name="btSelectAll" type="checkbox">
                                        </div>
                                        <div class="fht-cell"></div>
                                    </th>
                                    <th>
                                        <div class="th-inner ">编号</div>
                                        <div class="fht-cell"></div>
                                    </th>
                                    <th>
                                        <div class="th-inner sortable both">供应商负责人</div>
                                        <div class="fht-cell"></div>
                                    </th>
                                    <th>
                                        <div class="th-inner ">电话</div>
                                        <div class="fht-cell"></div>
                                    </th>
                                    <th>
                                        <div class="th-inner ">类别</div>
                                        <div class="fht-cell"></div>
                                    </th>
                                    <th>
                                        <div class="th-inner ">供应物品</div>
                                        <div class="fht-cell"></div>
                                    </th>
                                    <th>
                                        <div class="th-inner ">供应地点</div>
                                        <div class="fht-cell"></div>
                                    </th>
                                    <th>
                                        <div class="th-inner ">供应厂商</div>
                                        <div class="fht-cell"></div>
                                    </th>
                                    <th>
                                        <div class="th-inner ">操作</div>
                                        <div class="fht-cell"></div>
                                    </th>

                                </tr>
                                </thead>

                                <tbody>
                                <tr data-index="0">
                                    <td class="bs-checkbox ">
                                        <input data-index="0" name="btSelectItem" type="checkbox">
                                    </td>
                                    <td>1</td>
                                    <td>zhangsan</td>
                                    <td>12345678</td>
                                    <td>茶叶</td>
                                    <td>西湖龙井</td>
                                    <td>xxxxxx</td>
                                    <td>xxx工厂</td>
                                    <td>
                                        <button class="btn btn-info btn-xs" data-toggle="modal" data-target="#myModal2" ><i class="fa fa-key">编辑</i></button>
                                    </td>
                                </tr>
                                <tr data-index="1">
                                    <td class="bs-checkbox ">
                                        <input data-index="0" name="btSelectItem" type="checkbox">
                                    </td>
                                    <td>2</td>
                                    <td>lisi</td>
                                    <td>12345678</td>
                                    <td>设备</td>
                                    <td>110式杀青机</td>
                                    <td>xxxxxx</td>
                                    <td>xxx工厂</td>
                                    <td>
                                        <button class="btn btn-info btn-xs" data-toggle="modal" data-target="#myModal2" ><i class="fa fa-key">编辑</i></button>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="fixed-table-footer" style="display: none;">
                            <table>
                                <tbody>
                                <tr></tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="fixed-table-pagination" style="display: block;">
                            <div class="pull-left pagination-detail">
                                <span class="pagination-info">第 1 到 2 条，共  2 条记录。</span>
                                <span class="page-list"  style="display: none;">
                                <span class="btn-group dropup">
                                    <button type="button" class="btn btn-default btn-outline dropdown-toggle" data-toggle="dropdown">
                                        <span class="page-size">10</span>
                                        <span class="caret"></span>
                                    </button>
                            <ul class="dropdown-menu" role="menu">
                                <li class="active">
                                    <a href="javascript:void(0)">10</a>
                                </li>
                            </ul>
                                </span> 条记录每页</span>
                            </div>
                            <div class="pull-right pagination" style="display: none;">
                                <ul class="pagination pagination-outline">
                                    <li class="page-pre"><a href="javascript:void(0)">‹</a></li>
                                    <li class="page-number active"><a href="javascript:void(0)">1</a></li>
                                    <li class="page-next"><a href="javascript:void(0)">›</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="clearfix"></div>
            </div>


        </div>
    </div>
</div>

<div class="modal inmodal" id="myModal" tabindex="-1" role="dialog" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span>
                </button>
                <i class="fa fa-laptop modal-icon"></i>
                <h4 class="modal-title">添加型号</h4>
            </div><small class="font-bold">
            <div class="modal-body">
                <div class="modal-body">
                  <form action="addSupplier.do" method="post">
                    <div class="form-group">
                      <label for="recipient-name" class="control-label">供应商负责人：</label>
                      <input type="text" class="form-control" id="recipient-name" required pattern="[\u4e00-\u9fa5]+">
                    </div>
                    <div class="form-group">
                      <label for="message-text" class="control-label">电话：</label>
                      <input class="form-control" id="message-season" required pattern="^1[3456789]\d{9}$"></input>
                    </div>
                    <div class="form-group">
                      <label for="message-text" class="control-label">供应类别：</label>
                      <select class="form-control">
                        <option>设备</option>
                        <option>茶叶</option>
                      </select>
                    </div>
                    <div class="form-group">
                      <label for="message-text" class="control-label">供应物品：</label>
                      <input class="form-control" id="message-text" required pattern="[\u4e00-\u9fa5]+"/>
                    </div>
                    <div class="form-group">
                      <label for="message-text" class="control-label">供应地点：</label>
                      <input class="form-control" id="message-text" required pattern="[\u4e00-\u9fa5]+"/>
                    </div>
                    <div class="form-group">
                      <label for="message-text" class="control-label">供应工厂：</label>
                      <input class="form-control" id="message-varieties" required pattern="[\u4e00-\u9fa5]+"/>
                    </div>
                  </form>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary">保存</button>
            </div>
        </small></div><small class="font-bold">
    </small></div><small class="font-bold">
</small></div>


<div class="modal inmodal" id="myModal2" tabindex="-1" role="dialog" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span>
                </button>
                <i class="fa fa-laptop modal-icon"></i>
                <h4 class="modal-title">添加型号</h4>
            </div><small class="font-bold">
            <div class="modal-body">
                <div class="modal-body">
                    <form action="editSupplier.do" method="post">
                      <div class="form-group">
                        <label for="recipient-name" class="control-label">供应商负责人：</label>
                        <input type="text" class="form-control" id="recipient-name" value="Laochou" required pattern="[\u4e00-\u9fa5]+">
                      </div>
                      <div class="form-group">
                        <label for="message-text" class="control-label">电话：</label>
                        <input class="form-control" id="message-season" value="19979199619" required pattern="^1[3456789]\d{9}$"/>
                      </div>
                      <div class="form-group">
                        <label for="message-text" class="control-label">供应类别：</label>
                        <select class="form-control">
                          <option>茶叶</option>
                          <option>设备</option>
                        </select>
                      </div>
                      <div class="form-group">
                        <label for="message-text" class="control-label">供应物品：</label>
                        <input class="form-control" id="message-text" value="西湖龙井" required pattern="[\u4e00-\u9fa5]+"></input>
                      </div>
                      <div class="form-group">
                        <label for="message-text" class="control-label">供应地点：</label>
                        <input class="form-control" id="message-text" value="江西农业大学东区E教" required pattern="[\u4e00-\u9fa5]+"></input>
                      </div>
                      <div class="form-group">
                        <label for="message-text" class="control-label">供应工厂:</label>
                        <input class="form-control" id="message-varieties" value="老丑工厂" required pattern="[\u4e00-\u9fa5]+"></input>
                      </div>
                        <div class="modal-footer">
                            <button type="submit" class="btn btn-white" data-dismiss="modal">关闭</button>
                            <button type="submit" class="btn btn-primary">保存</button>
                        </div>
                    </form>
                  </div>
            </div>

        </small></div><small class="font-bold">
    </small></div><small class="font-bold">
</small></div>

<script src="../static/js/jquery.min.js"></script>
<script src="../static/js/bootstrap.min.js"></script>
<!-- bootstrap-table 表格插件 -->
<script src="../static/ajax/libs/bootstrap-table/bootstrap-table.min.js"></script>
<script src="../static/ajax/libs/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<script src="../static/ajax/libs/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js"></script>
<script src="../static/ajax/libs/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.min.js"></script>
<script src="../static/ajax/libs/bootstrap-table/extensions/columns/bootstrap-table-fixed-columns.js"></script>
<!-- jquery-validate 表单验证插件 -->
<script src="../static/ajax/libs/validate/jquery.validate.min.js"></script>
<script src="../static/ajax/libs/validate/messages_zh.min.js"></script>
<script src="../static/ajax/libs/validate/jquery.validate.extend.js"></script>
<!-- jquery-validate 表单树插件 -->
<script src="../static/ajax/libs/bootstrap-treetable/bootstrap-treetable.js"></script>
<!-- jquery-export 表格导出插件 -->
<script src="../static/ajax/libs/bootstrap-table/extensions/export/bootstrap-table-export.js"></script>
<script src="../static/ajax/libs/bootstrap-table/extensions/export/tableExport.js"></script>
<!-- 遮罩层 -->
<script src="../static/ajax/libs/blockUI/jquery.blockUI.js"></script>
<script src="../static/ajax/libs/iCheck/icheck.min.js"></script>
<script src="../static/ajax/libs/layer/layer.min.js"></script>
<script src="../static/ajax/libs/layui/layui.js"></script>
<script src="../static/ruoyi/js/common.js?v=4.0.0"></script>
<script src="../static/ruoyi/js/ry-ui.js?v=4.0.0"></script>
<script> var ctx = "\/"; </script>


<script src="../static/ajax/libs/jquery-layout/jquery.layout-latest.js"></script>


<script src="../static/ajax/libs/jquery-ztree/3.5/js/jquery.ztree.all-3.5.js"></script>

<script>
    var editFlag = "";
    var removeFlag = "";
    var resetPwdFlag = "";
    var prefix = ctx + "system/user";


</script>
</body>
<!-- 导入区域 -->
<script id="importTpl" type="text/template">
    <form enctype="multipart/form-data" class="mt20 mb10">
        <div class="col-xs-offset-1">
            <input type="file" id="file" name="file"/>
            <div class="mt10 pt5">
                <input type="checkbox" id="updateSupport" name="updateSupport" title="如果登录账户已经存在，更新这条数据。"> 是否更新已经存在的用户数据
                &nbsp; <a onclick="$.table.importTemplate()" class="btn btn-default btn-xs"><i
                    class="fa fa-file-excel-o"></i> 下载模板</a>
            </div>
            <font color="red" class="pull-left mt10">
                提示：仅允许导入“xls”或“xlsx”格式文件！
            </font>
        </div>
    </form>
</script>
</html>